<?php
@session_start();
include('../inc/config.php');
include ('ajax.php');
include ('function.php');
include ('../function.php');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="sangpro" />

	<title>Trang quản trị của thế giới máy tính</title>
</head>
<link rel="stylesheet" type="text/css" href="template/cssadmin.css"/>
<!-- link thư viện hàm javascrip--!>
<script language="javascript" type="text/javascript" src="js/function.js"></script>
<script language="javascript" type="text/javascript" src="js/tintuc.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.js"></script>
<!-- link tinymce--!>
<script language="javascript" type="text/javascript" src="js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="js/tinymce/jquery.tinymce.js"></script>
<?php
    $logout = $_GET['thoat'];
    if($logout =='logout'){
        @session_destroy();
        echo "<script> window.location ='acp_dangnhap.php'</script>";
    }
?>
<body class="body">
<div class="admintop">
    <div class="gtdoan">Đồ án :</div>
    <div class="tendoan">Thiết kế Website giới thiệu sản phẩm máy tính</div>
    <div class="xinchao">Xin chào :</div>
    <div class="tenadmin"><?php echo $_SESSION['tenadmin']?></div>
    <div class="hinhmuiten"></div>
    <?php
   echo "<div class='thoatadmin'><a href='?thoat=logout'>Thoát</a></div>";
   ?>
   </div>
</body>